/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.tms.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.tms.entity.Stores;
import com.jeeplus.modules.tms.mapper.StoresMapper;

/**
 * 仓库Service
 * @author dhw
 * @version 2018-01-17
 */
@Service
@Transactional(readOnly = true)
public class StoresService extends CrudService<StoresMapper, Stores> {

	public Stores get(String id) {
		return super.get(id);
	}
	
	public List<Stores> findList(Stores stores) {
		return super.findList(stores);
	}
	
	public Page<Stores> findPage(Page<Stores> page, Stores stores) {
		return super.findPage(page, stores);
	}
	
	@Transactional(readOnly = false)
	public void save(Stores stores) {
		super.save(stores);
	}
	
	@Transactional(readOnly = false)
	public void delete(Stores stores) {
		super.delete(stores);
	}
	
}